Export Tree

The Export menu can be used to export the current decision tree to a specified file in a variety of formats.

SQL

The current decision tree can be generated as SQL commands into a text file. You can also export just one tree path as SQL by first selecting the outcome, then using the right-click mouse menu to select Export Leaf.

Text description

This generates the tree as textual rules, similar to the way rules are shown by the Path to Node function and prefixed by the leaf Node number. You can also export just one tree path as text by first selecting the outcome, then using the right-click mouse menu to select Export Leaf.

ANSI C code

This generates the tree as C programming code into a text file. The code is in the ANSI format (standard C). You can tick Use old-style function headers for compatibility with the pre ANSI 2.0 specification.

Pascal code

This generates the tree as Pascal code into a text file.

Enhanced WMF graphic

This produces a file in the Windows meta file graphics format. It typically provides more flexibility and better end results than the direct printing of decision trees.

WMF files can be pasted into and then edited by other applications, such as Microsoft Word.

See also the Copy WMF to clipboard menu function.

SAS rules

This generates the tree as SAS rules into a text file.

XML

This generates the tree in XML format suitable for importing into Knowledge Builder in an alternative format using a Fuzzy decision tree and fuzzy attributes.

Copy WMF to clipboard

This can be used to copy the current tree to the Windows clipboard as an Enhanced WMF Graphic. It typically provides more flexibility and better end results than the direct printing of decision trees.

WMF files can be pasted into and then edited by other applications, such as Microsoft Word.